package com.mallcai.bigdata.ladon.service.report.node;

import com.mallcai.bigdata.ladon.service.report.impl.ReportQueryParamHolder;

import java.util.Map;

/**
 * 空节点,该节点直接返回""
 * @author feixy
 * @version 1.0
 * @date 2019-08-03 18:31
 */
public class NullReportSqlNode implements SingleReportSqlNode {

    private static NullReportSqlNode instance = new NullReportSqlNode();

    private NullReportSqlNode(){

    }

    @Override
    public String toSql(Map<String, ReportQueryParamHolder> params) {
        return "";
    }


    public static NullReportSqlNode getInstance() {
        return instance;
    }
}
